package com.xuecheng.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuecheng.domain.dto.CourseCategoryTreeDto;
import com.xuecheng.domain.po.CourseCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 */
@Mapper
public interface CourseCategoryMapper extends BaseMapper<CourseCategory> {
    /**
     * 查询课程分类树节点
     * @param id
     * @return
     */
    List<CourseCategoryTreeDto> selectTreeNodes(String id);
}
